package com.cjh.service;

import com.cjh.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IUserService {
    int deleteByPrimaryKey(Integer id);

    User insert(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(User record);

    PageInfo<User> selectListByPage(int pageNum);
}
